package com.jingming.consult.fragment

import android.os.Bundle
import com.jingming.consult.R
import com.jingming.consult.activity.VideoDesActivity
import com.jingming.consult.base.BaseFragment
import kotlinx.android.synthetic.main.fragmentone.*

class OneFragment : BaseFragment() {
    override fun getLayoutid(): Int {

        return R.layout.fragmentone
    }

    override fun onCreateView(savedInstanceState: Bundle?) {
        super.onCreateView(savedInstanceState)
        initView()
    }

    private fun initView() {

        tvPlay.setOnClickListener {
            VideoDesActivity.startVideoDesActivity(activity!!)
        }
    }
}